export default function createRadio() {
    const wrapper = document.createElement("DIV")
    const radioSvg = new URL('../../assets/radio_animated.svg', import.meta.url).href
    wrapper.className = 'radio-wrapper'
    wrapper.innerHTML = `
        <img class="radio-svg" src="${radioSvg}" alt="radio-svg" />
        <style>
            .radio-svg {
                width: 280px;
                height: 280px;
                position: fixed;
                top: calc((100% - 280px) / 2);
                left: calc((100% - 280px) / 2);
                cursor: pointer;
            }
        </style>
    `
    return wrapper
}